<!--[pnpageaddvar name=stylesheet value="modules/crpCalendar/pnstyle/style.css"]-->
<!--[crpcalendar_feeds]-->

<div class="z-menu">
    <!--[securityutil_checkpermission component="crpCalendar::" instance="::" level="ACCESS_COMMENT" assign="can_submit"]-->
    [&nbsp;<a href="<!--[pnmodurl modname="crpCalendar" type="user" func=$choosed_view|pnvarprepfordisplay]-->"><!--[gt text="Events list" domain="module_crpcalendar"]--></a>&nbsp;<!--[if $can_submit]-->|&nbsp;<a href="<!--[pnmodurl modname="crpCalendar" type="user" func="new"|pnvarprepfordisplay]-->"><!--[gt text="Submit event" domain="module_crpcalendar"]--></a>&nbsp;<!--[/if]-->]
</div>

<!--[foreach from=$events item=event]-->
<div class="vevent">
    <span class="event-date">
        <span class="event-month"><!--[$event.start_date|pndate_format:'%b']--></span>
        <span class="event-day"><!--[$event.start_date|pndate_format:'%d']--></span>
    </span>
    <!--[assign var="this_date_format" value=$complete_date_format]-->
    <!--[if $event.day_event]-->
    <!--[assign var="this_date_format" value=$only_date_format]-->
    <!--[/if]-->
    <a href="<!--[pnmodurl modname=crpCalendar func=display eventid=$event.eventid|pnvarprepfordisplay]-->">
        <span class="summary"><!--[$event.title|pnvarprephtmldisplay]--></span>
    </a>
    (<abbr class="dtstart" title="<!--[$event.start_date|pndate_format:"%Y%m%dT%H%M%sZ"]-->"><!--[$event.start_date|pndate_format:$this_date_format]--></abbr><span class="<!--[if $event.day_event]-->z-hide<!--[/if]-->"> &raquo; <abbr class="dtend" title="<!--[$event.end_date|pndate_format:"%Y%m%dT%H%M%sZ"]-->"><!--[$event.end_date|pndate_format:$this_date_format]--></abbr></span>)
    <div class="description"><!--[$event.event_text|truncate:"50"|pnvarprephtmldisplay]--></div>
    <div style="clear:left"></div>
</div>
<!--[/foreach]-->
<!--[if empty($events)]-->
<!--[gt text="There are no events in the next" domain="module_crpcalendar"]--> <!--[$interval]--> <!--[gt text="days" domain="module_crpcalendar"]-->
<!--[/if]-->